home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Skunkware 98
/
Skunkware 98.iso
/
src
/
devtools
/
automake-1.0.tar.gz
/
automake-1.0.tar
/
automake-1.0
/
tests
/
defs
< prev
next >
Wrap
Text File
|
1996-05-17
|
1KB
|
49 lines
# -*- ksh -*-
# Defines for Automake testing environment.
# Tom Tromey <tromey@cygnus.com>
# Ensure $srcdir set correctly.
test -f $srcdir/defs || {
echo "defs: installation error" 1>&2
exit 1
}
# If srcdir is relative, we need to modify it.
case "$srcdir" in
/*)
;;
*)
srcdir="../$srcdir"
;;
esac
rm -rf testSubDir > /dev/null 2>&1
mkdir testSubDir
cd testSubDir
# Build appropriate environment in test directory. Eg create
# configure.in, touch all necessary files, etc.
cat > configure.in << 'END'
PACKAGE=nonesuch
VERSION=nonesuch
AC_ARG_PROGRAM
fp_PROG_INSTALL
AC_OUTPUT(Makefile)
END
: > install-sh
: > mkinstalldirs
# See how redirections should work.
test -z "$VERBOSE" && {
exec > /dev/null 2>&1
}
echo "=== Running test $0"
# See how Automake should be run. We put --foreign as the default
# strictness to avoid having to create lots and lots of files. A test
# can override this by specifying a different strictness.
AUTOMAKE="../../automake --amdir=$srcdir/.. --foreign"